home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_automake.idb / usr / freeware / share / aclocal / lex.m4.z / lex.m4
Encoding:
M4 Source File  |  1999-07-16  |  351 b   |  11 lines

  1. ## Replacement for AC_PROG_LEX and AC_DECL_YYTEXT
  2. ## by Alexandre Oliva <oliva@dcc.unicamp.br>
  3.  
  4. dnl AM_PROG_LEX
  5. dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT
  6. AC_DEFUN(AM_PROG_LEX,
  7. [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1)
  8. AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex")
  9. AC_PROG_LEX
  10. AC_DECL_YYTEXT])
  11.